home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMKKKKDDDDEEEEPPPPEEEENNNNDDDD((((1111)))) MMMMKKKKDDDDEEEEPPPPEEEENNNNDDDD((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- mkdepend - compute header file dependencies
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- mmmmkkkkddddeeeeppppeeeennnndddd [----cccc _c_o_m_p_i_l_e_r] [----eeee _s_e_d_p_r_o_g] [----ffff _f_o_r_c_e] [----iiii] [----pppp _c_o_u_n_t] [----rrrr] [----ssss
- _s_e_n_t_i_n_e_l] _d_e_p_f_i_l_e [_f_i_l_e ...]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _M_k_d_e_p_e_n_d infers _m_a_k_e(1) dependencies from source containing C #include
- directives. It invokes _c_c(1) with the ----MMMM option to compile dependencies
- given a list of source _f_i_l_e_s, and edits the generated dependency
- information into _d_e_p_f_i_l_e, which may be a makefile or a make include file.
-
- The ----cccc option substitutes _c_o_m_p_i_l_e_r, which may be an elaborate, quoted
- invocation of a compiler, for the default cccccccc ----MMMM. This option is useful
- in an environment where the ----DDDD and ----IIII options of _c_c are used to govern
- header file inclusion.
-
- The ----eeee option passes an editing program to _s_e_d(1), which is applied to
- raw dependency information of the following form:
-
- object: source
-
-
- Thus one may substitute pathname prefixes with envariable parameters, or
- rewrite the conventional ....oooo object suffix.
-
- The ----ffff option causes _m_k_d_e_p_e_n_d to add a dependent named _f_o_r_c_e to each
- target file's dependency list. Using ----ffff ''''$$$$((((FFFFOOOORRRRCCCCEEEE))))'''' and setting
- FFFFOOOORRRRCCCCEEEE====FFFFOOOORRRRCCCCEEEE in a make's environment, one may rebuild certain objects
- without first removing them. This example assumes that no file named
- FFFFOOOORRRRCCCCEEEE exists in any of _m_a_k_e's current working directories.
-
- Normally, existing dependencies are deleted from the makefile. The ----iiii
- option causes _m_k_d_e_p_e_n_d to preserve old dependencies, replacing only those
- involving targets based on the _f_i_l_e arguments. The following rule
- incrementally updates a dependency file named MMMMaaaakkkkeeeeddddeeeeppppeeeennnndddd:
-
- Makedepend: $(CFILES)
- mkdepend -c "$(CC) $(CFLAGS) -M" -i $@ $?
-
-
- The ----rrrr option causes _m_k_d_e_p_e_n_d to read raw dependencies from its _f_i_l_e
- arguments, or from standard input if no _f_i_l_e arguments are given. The ----pppp
- option is like ----rrrr, but also collapses dependencies of targets in
- subdirectories where possible. The _c_o_u_n_t argument specifies the number
- of subdirectories. For example,
-
- subdir1/object: source
- subdir2/object: source
- subdir3/object: source
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMKKKKDDDDEEEEPPPPEEEENNNNDDDD((((1111)))) MMMMKKKKDDDDEEEEPPPPEEEENNNNDDDD((((1111))))
-
-
-
- would be rewritten by mmmmkkkkddddeeeeppppeeeennnndddd ----pppp 3333 as
-
- object: source
-
-
- ----pppp is useful in conjunction with _m_a_k_e's VVVVPPPPAAAATTTTHHHH variable.
-
- The ----cccc, ----pppp, and ----rrrr options override one another.
-
- The ----ssss option inserts its _s_e_n_t_i_n_e_l argument in the comment lines which
- delimit dependencies in _d_e_p_f_i_l_e. This option is useful for maintaining
- multiple sets of dependencies in a single file.
-
- NNNNOOOOTTTTEEEESSSS
- This command will be removed from the next major release. Use cc
- -MDupdate instead.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cc(1), cpp(1), make(1), sed(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-